<?php $ms = isset($ms)?$ms:3000;?>
<style type="text/css">
    .content .sm{ font-size:12px;}
    .sm{width:100%;text-align:center;margin-top:20px;}
    .sm-pic{width:70px;margin:auto;border-radius:50%;}

.showMsg .guery {white-space: pre-wrap; /* css-3 */white-space: -moz-pre-wrap; /* Mozilla, since 1999 */white-space: -pre-wrap; /* Opera 4-6 */white-space: -o-pre-wrap; /* Opera 7 */	word-wrap: break-word; /* Internet Explorer 5.5+ */}

.showMsg{border: 1px solid #1e64c8; zoom:1; width:450px; height:174px;position:absolute;top:50%;left:50%;margin:-87px 0 0 -225px}
.showMsg h5{background-image: url(/statics/images/msg.png);background-repeat: no-repeat; color:#fff; padding-left:35px; height:25px; line-height:26px;*line-height:28px; overflow:hidden; font-size:14px; text-align:left}
.showMsg .content{ padding:46px 12px 10px 45px; font-size:14px; height:66px;}
.sm .bottom{  margin: 0 1px 1px 1px;line-height:26px; *line-height:30px; height:26px; text-align:center}
.showMsg .ok,.showMsg .guery{background: url(<?php echo IMG_PATH?>/msg_img/msg_bg.png) no-repeat 0px -560px;}
.showMsg .guery{background-position: left -460px;}
.sm-message{width:70%;margin:auto;padding-top:10px;font-size:1.2em;font-weight:bold;}
</style>

<div class="card">
    <div class="content" style="padding: 20px 0 50px">
        <div class="sm">
        <? $ms=3000 ?>
            <div class="sm-pic"><img src="/backend/web/statics/images/showmsg.png" width="70px" alt="<?=isset($msg)?$msg:''?>" /></div>
            <div class="sm-message"><?=isset($msg)?$msg:''?></div>
            <div class="bottom">
                <?php if(isset($msg_type) && $msg_type=='close'){?>
                <script language="javascript">
                    var is_close = confirm('确定关闭窗口?');
                    if(is_close){
                        window.opener=null;
                        window.open('','_self');
                        window.close();
                    }
                </script>
                <?php }?>
                <?php if((!isset($url)) or ($url == 'goback')){?>
                <a href="javascript:history.back();" >[点这里返回上一页]</a>
                <?php }else{?>
                <a href="<?=strip_tags($url)?>">如果您的浏览器没有自动跳转，请点击这里</a>
                <script language="javascript">
                    var t = setTimeout("window.location.href='<?=$url?>'",<?=$ms?>);
                </script>
                <?php }?>
            </div>
        </div>
    </div>
</div>